﻿@model SchoolCommunicationSystem.Models.StatisticModels
@{
    ViewBag.Title = "Thống kê";
    Layout = "~/Views/Shared/_TeacherLayout.cshtml";
}
<div id="page-heading">
    <h1>Tình Trạng Học Tập</h1>
</div>
<div class="container">
    <div class="row">
        <div class="col-sm-12">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h4>Thống kê</h4>
                </div>
                <div class="panel-body">
                    <h4 style="margin: 1px;">Lớp: @Model.className</h4>
                    <h4 style="margin: 1px;">Giáo viên chủ nhiệm: @Model.teacherName</h4>
                    <h4 style="margin: 1px;">Năm học: @Model.schoolYearName</h4>
                    <br />

                    <div class="module_contentwithsearch">
                        @using (Html.BeginForm("Statistic", "TeacherView", FormMethod.Post, new { @class = "form-horizontal" }))
                        { 
                            @Html.HiddenFor(m => m.className)
                            @Html.HiddenFor(m => m.Learners)
                            @Html.HiddenFor(m => m.schoolYearName)
                            @Html.HiddenFor(m => m.teacherName)
                            @Html.HiddenFor(m => m.classID)
                            <div class="form-group" style="margin-bottom: 0px;">
                                <div class="col-sm-3">
                                    <button class="btn-primary btn searchbtn" type="submit" style="padding: 4px 15px; font-size: 13px; font-weight: 500;">Xuất thống kê</button>
                                </div>
                            </div>
                            <br />
                            <div style="color: Green; font-weight: bold">
                                @TempData["msg"]
                            </div>
                        }
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
